package com.easylinkin.linkappapi.classroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.classroom.entity.ClassroomDevice;
import com.easylinkin.linkappapi.deviceservice.entity.DeviceServices;
import com.easylinkin.linkappapi.openapi.dto.ApiDownResultDTO;
import com.easylinkin.linkappapi.space.entity.LinkappArea;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/9/2 15:25
 */
public interface ClassroomService {

    IPage<ClassroomDevice> getAreaDevicePage(Page page, LinkappArea linkappArea);

    ApiDownResultDTO batchSend(DeviceServices deviceServices);

    ApiDownResultDTO send(DeviceServices deviceServices);

    void asyncBatchSend(DeviceServices deviceServices);
}
